package org.lanqiao.tjut.service;

import java.util.List;

import org.lanqiao.tjut.bean.AnnounceEntity;
import org.lanqiao.tjut.bean.ClientEntity;
import org.lanqiao.tjut.bean.PaysEntity;
import org.lanqiao.tjut.bean.UsersEntity;

public interface IUserInfoService {
	/**
	 * 用户登录查询
	 * 
	 * @param userB
	 *            用户登录信息
	 * @return 登录用户信息集合
	 */
	public List<UsersEntity> selectUsersInfo4Login(UsersEntity userE);
	
	/**
	 * 管理员查询所有人员
	 * @param userE
	 * @return
	 */
	public List<UsersEntity> selectUsersInfoByParas(UsersEntity userE);

	public int saveUserInfo(UsersEntity userE);

	public List<UsersEntity> selectUsersInfo(UsersEntity userE);

	public UsersEntity getUserInfoById(String uid);

	public int editUserInfo(UsersEntity userE);

	public int deleteUserInfo(String uid);

	public List<ClientEntity> selectClientInfoByParas(ClientEntity cliE, UsersEntity userE);

	public ClientEntity getClientInfoById(String uid);

	public int editClientInfo(ClientEntity cliE);

	public List<ClientEntity> selectClientInfo(ClientEntity cliE);

	public int savePayInfo(PaysEntity payE);

	public List<PaysEntity> selectPayInfo(PaysEntity payE);

	public List<PaysEntity> selectPayInfoByParas(PaysEntity payE);

	public int addAnnounceInfo(AnnounceEntity anE);

	public List<AnnounceEntity> contentInfo();

	public List<AnnounceEntity> contentAllInfo();

	
}
